home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nothing but GIFs AGA
/
Nothing But GIFs.iso
/
utility
/
pc-dos
/
gifclp15.arj
/
GIFCLIP.DOC
< prev
next >
Wrap
Text File
|
1993-05-22
|
13KB
|
329 lines
G I F C L I P
Version 1.5
May 20 , 1993
A Cropping/Clipping Program for Your GIF(tm) Pictures
Copyright 1990,1993 Synergrafix Consulting.
All rights reserved.
GIFCLIP is produced by:
Steve Enns Synergrafix Consulting
44 Macdermid Cres. 44 Macdermid Cres.
Saskatoon, Sk. Saskatoon, Sk.
Canada S7J 2R2 Canada S7J 2R2
This document has been stolen from the original GIFWARP!
document - if you have GIFWARP!, all the "humor" in here
is ginna' seem familiar...
Our motto:
"We endeavour to pursue faithfully the highest principles in
sophisticated program design and development - until we're
offered more money or more exciting jobs."
Top Ten Phrases heard around this lab:
"What does `File Allocation Table Bad' mean?"
"Where was that bottle?"
"Sure it's weird, but will it sell?"
"Are these deductions right?"
"Where's that Stones tape?"
"Yah, C is okay, but can you do it in FORTRAN?"
"Where was that bottle?"
"I thought YOU fed the sled dogs!"
"Error handling? What's that?"
"Where was that bottle?"
Okay, here's the boring stuff, but don't worry, it's better
than chewing tinfoil:
ACKNOWLEDGEMENTS
Kudos, thanks, and good karma to John Bridges for the
enlightening information and code contained in his VGAKIT
package. Trademarks like GIF(tm) and PC(tm) are held by
their respective companies.
DISCLAIMER
The GIFCLIP program is provided without warranty of any
kind. The user of the GIFCLIP assumes complete
responsibility for any and all incidental or consequential
damages which may occur during normal or abnormal use of the
GIFCLIP program. Use the GIFCLIP program at your own risk.
LICENSE
The entire GIFCLIP package, including the GIFCLIP program,
documentation, and sample files are Copyright 1990,1993
Synergrafix Consulting. All rights reserved. The
unregistered shareware version of the GIFCLIP may be freely
distributed to others by any means, as long the following
(three) conditions are met:
1) GIFCLIP is distributed in a "package" containing
the following three files:
GIFCLIP.EXE
GIFCLIP.DOC
GC-READ.ME
2) GIFCLIP is not distributed as part of any other
product, except with specific written permission from
the author, Steve Enns.
3) NO fee of any kind is charged for the GIFCLIP
package or for the service of providing the package,
except Computer Bulletin Board Systems, which may
distribute the GIFCLIP package even though they may
charge a membership or service fee.
You can use the "shareware" version for as long as you want,
even until you're well into your nineties, but you are of
course encouraged to send us lots of money, too. (I'm
struggling to pay for my violin lessons, and Dan needs a new
fishing rod.) On the other hand, a "registered" version of
GIFCLIP is available from the authors for $8.00 U.S. The
registered version provides support for 512K and 1024K
SuperVGA cards from most manufacturers (see REQUIREMENTS
below). The registered version is licensed to the
purchaser exclusively, and may not be distributed to others.
To order the SuperVGA version of GIFCLIP, send $8.00 U.S.
to the "Steve Enns" guy mentioned above. You will receive a
5.25" (sorry NO 3.5" disks!) disk with the latest SuperVGA
version of GIFCLIP. If you send $23.00 or more, you will
also receive the licensed SuperVGA versions of:
GIFWARP! Warp, bend or stretch your GIF(tm) pictures
for bizarre and interesting effects.
GIFSIZE Resize your GIFs. Resize the entire image or
any part.
GIFEXE Make your GIF(tm) into an executable program
with special effects. Just run the program
to display the picture. Great for demos or
displays or title screens for your programs.
Supports SuperVGA.
Look for the unlicensed shareware versions of GIFCLIP,
GIFSIZE and GIFEXE on your favourite bulletin board system.
REQUIREMENTS
GIFCLIP requires the following:
- PC(tm)/XT(tm)/AT(tm)/386(tm) computer thing
- About 280K of free RAM
- DOS 3.0, 3.1, 3.2, 3.3, 4.0 (others untested)
- A mouse that at least claims to be
compatible with something
- A VGA or SuperVGA card
and optionally:
- SuperVGA - The registered SuperVGA version of
GIFCLIP supports modes like 640x480, 800x600 and
1024x768 with 256 colours on 512K and 1024K
SuperVGA cards from ATI, Ahead, Cirrus, Chips and
Technologies, Everex, OAK, Paradise, Trident,
Tseng, Video7, Compaq, NCR, Genoa and VESA.
(S3 based cards with (bug-free!) VESA bioses are
now supported.) See the LICENSE section above for
ordering information.
INSTALLATION
Copy the GIFCLIP program (and this helpful document of
course!) to any directory that you want - perhaps with
your favourite GIF(tm) viewer somewhere in the DOS
path.
USAGE
Syntax for GIFCLIP is as follows:
GIFCLIP [?] infilename[.GIF] [outfilename[.GIF]]
[/text=some~text] [/giftag=giffile[.GIF]]
[/autoscale]
or
GIFCLIP [?] infilename[.GIF] [outfilename[.GIF]]
[/mode={0,1,2,3,4}] [/text=some~text]
[/giftag=giffile[.GIF]]
[/autoscale]
for the registered version. ( The /mode=n parameters are as
follows: /mode=0 Ordinary 320x200 mode
/mode=1 Low resolution SVGA
640x400 or 640x350
depending on your card.
/mode=2 Medium resolution 640x480
/mode=3 High resolution 800x600
/mode=4 Higher resolution 1024x768
on some 1024K cards. Try a VESA
driver!)
The /autoscale option will try to fit the GIF onto the
specified screen mode when the mode is much large than the
GIF.
The /text option allows the placement of text on the GIF.
The /giftag option allows placement of another GIF onto the
GIF.
For example, try:
C> GIFCLIP to see the title screen
C> GIFCLIP ? to see the help/brag screen
C> GIFCLIP house to view/clip the file
HOUSE.GIF writing the clipped
picture (if any) to the
default name GIFCLIP.GIF
C> GIFCLIP house house2 view/clip the file HOUSE.GIF,
writing output to HOUSE2.GIF
C> GIFCLIP house /text=Copyright~1991
view/clip the file HOUSE.GIF,
adding the text "Copyright
1991" when using the "text"
command. (See below.)
C> GIFCLIP house /giftag=myname.gif
view/clip the file HOUSE.GIF,
adding the picture MYNAME.GIF
when using the "gif" command.
(See below.)
With the registered version:
C> GIFCLIP car /mode=2 View/clip CAR.GIF using medium
resolution SuperVGA
TUTORIAL
Try out the following with your favourite GIF(tm) picture:
C> GIFCLIP picturename
GIFCLIP will load the picture and display it one your
screen. The mouse cursor will appear in the centre of the
picture along with the coordinates of the current position.
Choose the area of the picture that you want to save by
pressing and holding down the left mouse button while moving
the mouse. The "clipping box" will move as you move the
mouse. Release the left button when the "clipping box" is
the appropriate size. To choose a different box, just press
and hold down the mouse at a different location in the
picture. When you have chosen the area of the picture that
you want to save, press the <ENTER> key. If you want to
exit GIFCLIP without saving the clipped picture, press the
<ESC> key.
Now try the following:
C> GIFCLIP picturename /text=John~Doe,~1991
GIFCLIP will operate as before, except that now you may also
place the text "John Doe, 1991" anywhere on your picture.
Note that the tilde "~" is used for a space. You can move
the mouse around and choose clipping areas as before, but
now when you press the right mouse button, the text
"John Doe, 1991" will appear, and can be moved around with
the mouse. Press the right mouse button again to place the
text on the picture.
Finally, you can also try:
C> GIFCLIP picturename /giftag=myname
Now, press the "G" key. The picture MYNAME.GIF will be
placed on top of the picture with the upper corner where the
mouse is pointing. This option can be used to put logos,
signatures or any other picture on top of the current
picture. (Note that the colours of the original picture
will be used for the imported picture.)
Both of the GIFCLIP options /TEXT and /GIFCLIP may be used
together.
ERRORS
- The following self explanatory error messages may be
produced by GIFCLIP The errors involving the GIF(tm) files
will generally be due to disk errors or faulty image files.
Other errors refer to lack of enough free RAM space, or lack
of required hardware (VGA and Mouse).
Can't initialize VGA graphics!
Mouse driver not installed.
Can't allocate mouse memory!
Unexpected EOF reading GIF!
Premature end of GIF!
Not GIF file!
Invalid GIF format
Error writing GIF!
Buffer allocation failure!
NOTES
- GIFCLIP reads both GIF87A standard (the original) and
new GIF89A pictures, although most of the extensions in the
new GIF89A standard like (silly) text windows are ignored.
The last image in multi-image GIFs will be the one displayed
for clipping in GIFCLIP.
- Although only the registered copy of GIFCLIP provides
full SuperVGA resolution, all GIF pictures can be decoded
and displayed on all versions of GIFCLIP. If the image is
too large for the available resolution, the image will be
centred on the screen. You will see the middle 320x200
pixels of the image when the entire image is larger than
320x200, for example. The registered version of GIFCLIP
will display images at resolutions up to 1024x768 according
to the size of the picture, or the specified mode.
HISTORY
- Version 1.0 Completed June.1 1991
- Version 1.2 Completed Sep.15 1991
Some additional cards are now supported. 1024x768x256
modes are now supported on some 1024K cards.
- Version 1.3 Completed Sep.20 1991
/autoscale is now an option
- Version 1.4 BIG OL' BUG that disabled SuperVGA in
registered versions is now fixed.
- Version 1.5 Completed May.20 1993
Support for additional graphics hardware, including
much better VESA support for S3 and other Windows
accelerator cards which support VESA.
PROPOSED FUTURE ENHANCHMENTS
- Support for other graphics hardware. Hopefully, we will
be able to support new hardware and graphics modes as they
are introduced.
- Faster GIF(tm) decoding and encoding
- You tell me!